import request from '@/utils/request'

// 查询就业指导列表
export function listGuides(query) {
  return request({
    url: '/job/guides/list',
    method: 'get',
    params: query
  })
}

// 查询就业指导详细
export function getGuides(id) {
  return request({
    url: '/job/guides/' + id,
    method: 'get'
  })
}

// 新增就业指导
export function addGuides(data) {
  return request({
    url: '/job/guides',
    method: 'post',
    data: data
  })
}

// 修改就业指导
export function updateGuides(data) {
  return request({
    url: '/job/guides',
    method: 'put',
    data: data
  })
}

// 删除就业指导
export function delGuides(id) {
  return request({
    url: '/job/guides/' + id,
    method: 'delete'
  })
}
